/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Socket;

import java.io.Serializable;

/**
 *
 * @author tin
 */
public class TeclaCliente implements Serializable {
     int codtecla;
     int idcliente;

      public TeclaCliente(){}

     public TeclaCliente(int ct,int id){
         codtecla=ct;
         idcliente=id;
     }
     
      @Override public String toString() {
            StringBuilder result = new StringBuilder();
            String NEW_LINE = System.getProperty("line.separator");

            result.append(this.getClass().getName() + " Object {" + NEW_LINE);
            result.append("Cod Tecla: " + codtecla + NEW_LINE);
            result.append("ID cliente: " + idcliente + NEW_LINE);
            result.append("}");

            return result.toString();
        }

}
